//
//  AboutUserViewController.m
//  B-72K
//
//  Created by sos on 16/3/15.
//  Copyright © 2016年 sos. All rights reserved.
//

#import "AboutUserViewController.h"

#import <iflyMSC/IFlyMSC.h>
#import "ISRDataHelper.h"
#import <UIImageView+WebCache.h>
#import "IATConfig.h"
@interface AboutUserViewController ()
@end

@implementation AboutUserViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navigationController.navigationBarHidden = NO;
    self.navigationItem.title = @"有关我们";
    self.navigationController.navigationBar.translucent = YES;
    
    UIBarButtonItem *item = [[UIBarButtonItem alloc]initWithImage:[UIImage imageNamed:@"return"] style:UIBarButtonItemStylePlain target:self action:@selector(back:)];
    
    self.navigationItem.leftBarButtonItem = item;
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];

    
    
    //"GOGO"图标
    UIImageView *image =[[UIImageView alloc]initWithFrame:CGRectMake(0, 0, 100, 100)];
    image.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4);

    image.image =[UIImage imageNamed:@"tubiao.png"];
    [self.view addSubview:image];
    
    
    //label
    UILabel *name =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 150, 30)];
    name.center = CGPointMake(self.view.frame.size.width / 2.1, self.view.frame.size.height / 4 + 70);
    name.text = @" 72 K";
    name.font =[UIFont fontWithName:@"Helvetica-Bold" size:20];
    name.textAlignment = NSTextAlignmentCenter;
    name.textColor = [UIColor whiteColor];
    [self.view addSubview:name];
    
    
    //自我介绍
    UILabel *content =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 251)];
    content.numberOfLines = 0;
    content.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 +160);
    content.text = @"        72k是包含各类资讯,视频，天气的一款应有尽有的多功能App,它包涵海量的信息，并对信息做了精确的分类，每类消息包涵多种形式，让你随时跟踪掌握全球资讯.它各种视频，为枯燥的生活添加一丝欢乐,72K在手,天下你有,我有,大家有！！";
    [self.view addSubview:content];
    
    
    //开发人员及介绍
    UILabel *contact =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 30)];
    contact.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 +270);
    contact.text = @"欢迎以任何形式的叨扰:";
    [self.view addSubview:contact];
    
    
    UILabel *person = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 30)];
    person.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 +300);
    person.text = @"研发人员:         小花,  洋仔";
    [self.view addSubview:person];
    
    
    UILabel *phone = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 30)];
    phone.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 + 320);
    phone.text = @"联系热线:        010-95588";
    [self.view addSubview:phone];
    
    
    UILabel *qq = [[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 30)];
    qq.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 + 340);
    qq.text = @"QQ          :        747499741";
    [self.view addSubview:qq];
    
    
    UILabel *email =[[UILabel alloc]initWithFrame:CGRectMake(0, 0, 335, 30)];
    email.center = CGPointMake(self.view.frame.size.width / 2, self.view.frame.size.height / 4 + 360);
    email.text = @"邮箱地址:        72kkk@foxmail.com";
    [self.view addSubview:email];
}
- (void)back:(UIBarItem *)btn
{
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
